﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Gmis.Public;
using System.Text;

namespace Gmis.Web.Manage.Affairs
{
    public partial class ArtelMemberEdit : System.Web.UI.Page
    {
        public string action = ""; //动作
        public string sPId = "";// 当前成员所属合作社ID
        public string sId = "";// 传入的id  空代表新增 有值代表修改
        string sOption = "<option value='{0}' {1}>{2}</option>";
        public Model.ArtelMember model = new Model.ArtelMember();

        protected void Page_Load(object sender, EventArgs e)
        {
            //传入ID 和操作
            sId = CommonFunction.getRequestValue("Id");
            action = CommonFunction.getRequestValue("action");
            sPId = CommonFunction.getRequestValue("sPId");
            if (sId != "")
            {
                BLL.ArtelMember bll = new BLL.ArtelMember();
                model = bll.GetModel(sId);
            }
        }

   
    }
}